package com.eimf.saf.security.entity;

import java.io.Serializable;

import com.eimf.saf.common.commons.annotation.I18nAnnotation;
import com.eimf.saf.common.commons.i18n.Ii18n;

/**
 * @author eden
 * @date 2013-12-27 下午2:42:46
 * @Description: 角色实体
 */
public class Role extends Ii18n implements Serializable
{

    private static final long serialVersionUID = 1L;

    private Long roleId;

    @I18nAnnotation
    private String roleName;

    private String roleDesc;

    private int roleType;

    private int autoAssign;

    private String subSystemId;

    /**
     * roleId
     * 
     * @return the roleId
     * @since 1.0.0
     */

    public Long getRoleId()
    {
        return roleId;
    }

    /**
     * @param roleId the roleId to set
     */
    public void setRoleId(final Long roleId)
    {
        this.roleId = roleId;
    }

    /**
     * roleName
     * 
     * @return the roleName
     * @since 1.0.0
     */

    public String getRoleName()
    {
        return roleName;
    }

    /**
     * @param roleName the roleName to set
     */
    public void setRoleName(final String roleName)
    {
        this.roleName = roleName;
    }

    /**
     * roleDesc
     * 
     * @return the roleDesc
     * @since 1.0.0
     */

    public String getRoleDesc()
    {
        return roleDesc;
    }

    /**
     * @param roleDesc the roleDesc to set
     */
    public void setRoleDesc(final String roleDesc)
    {
        this.roleDesc = roleDesc;
    }

    /**
     * roleType
     * 
     * @return the roleType
     * @since 1.0.0
     */

    public int getRoleType()
    {
        return roleType;
    }

    /**
     * @param roleType the roleType to set
     */
    public void setRoleType(final int roleType)
    {
        this.roleType = roleType;
    }

    /**
     * autoAssign
     * 
     * @return the autoAssign
     * @since 1.0.0
     */

    public int getAutoAssign()
    {
        return autoAssign;
    }

    /**
     * @param autoAssign the autoAssign to set
     */
    public void setAutoAssign(final int autoAssign)
    {
        this.autoAssign = autoAssign;
    }

    /**
     * subSystemId
     * 
     * @return the subSystemId
     * @since 1.0.0
     */

    public String getSubSystemId()
    {
        return subSystemId;
    }

    /**
     * @param subSystemId the subSystemId to set
     */
    public void setSubSystemId(final String subSystemId)
    {
        this.subSystemId = subSystemId;
    }

}
